-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Value Change Callback #237
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #237 +/- ##
==========================================
+ Coverage 94.55% 94.61% +0.05%
==========================================
Files 20 20
Lines 496 501 +5
==========================================
+ Hits 469 474 +5
Misses 27 27
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #237 +/- ##
==========================================
+ Coverage 94.55% 95.37% +0.82%
==========================================
Files 20 20
Lines 496 584 +88
==========================================
+ Hits 469 557 +88
Misses 27 27
Continue to review full report at Codecov.
|
Essentially a forced trafo? |
It allows for side-effects from changin parameter values. My use-case is changing one ParamSet member of a |
lets at least discuss this in toulouse, i am unsure wether this is a good thing |
See tests for how exactly this could work. The idea is to have a
$callbacks
slot of functions that get called whenever$values
changes; the functions get called in turn and return a possibly modified version of the values to be set. This would close #231.